<?php
/**
 *  @author liuyang
 *  @name  activitykeyword.php
 *  @date Created on 2016-1-7
 */
namespace haibao\cms\model\data\activity;

Class ActivityKeyword extends \haibao\cms\model\data\Base{
    
    /**
     * 状态，默认1，1正常0删除
     */
    const STATUS_DELETE = 0;
    const STATUS_ENABLE = 1; 
    
    /**
     * 活动ID
     */
    
    public $ActivityId;
    
    /**
     * 关键词
     */
    public $Name;
    /**
     * 状态，默认1，1正常0删除
     */
    public $Status = 1;
    
    /**
     * 显示日期（只有日期无时间）
     */
    public $ShowTime;
    
    /**
     * 搜索次数
     */
    
    public $SearchCount = 0;
    
    /**
     * 添加用户ID
     */
    
    public $CreateBy;
    
    /**
     * 添加日期
     */
    
    public $CreateTime;
    
	public function __construct(){
		parent::__construct();
		$this->intField('ActivityId', 'ActivityId',true);
		$this->stringField('Name', 'Name',true);
		$this->stringField('Status', 'Status',true);
		$this->stringField('CreateBy', 'CreateBy',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->dateField('ShowTime', 'ShowTime',true);
		$this->dateField('SearchCount', 'SearchCount');
		$this->setTableName('ActivityKeyword');
	}
}